<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>购物车</title>
    <link rel="icon" type="image/x-icon" href="/images/logo.ico" />
    <link rel="stylesheet" href="https://cdn.bootcss.com/font-awesome/4.7.0/css/font-awesome.css">
    <link rel="stylesheet" type="text/css" href="/stylesheets/default.css">
    <link rel="stylesheet" type="text/css" href="/stylesheets/component.css">
    <script src="/javascripts/modernizr.custom.js"></script>
</head>

<body>
    <audio id="a1"></audio>
    <top>
        <section class="seck">
            <%if(loginUser){%>
                <div class="register_login" id="userInfo">
                    <em>您好，</em>
                    <%=loginUser.nikename%>
                    <a href="/presnol">个人中心</a>
                    <a href="javascript:;">退出</a>
                </div>
                <%}else{%>
                    <div class="register_login" id="userInfo">
                        <em>您好，</em>
                        <a href="/login">登录 / 注册</a>
                    </div>
                <%}%>
        </section>
    </top>
    <nav class="navbar navbar-default" style="background:#fff;border:none">
        <div class="container-fluid">
            <!-- Brand and toggle get grouped for better mobile display -->
            <div class="navbar-header">
                <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1"
                    aria-expanded="false">
                    <span class="sr-only">Toggle navigation</span>
                    <span class="icon-bar"></span>
                    <span class="icon-bar"></span>
                    <span class="icon-bar"></span>
                </button>
                <a class="navbar-brand" href="/">
                    <span class="fa fa-book color" style="font-size:32px;margin-top:-5px;color: #3CB371"></span>
                </a>
            </div>

            <!-- Collect the nav links, forms, and other content for toggling -->
            <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
                <form class="navbar-form navbar-left" style="margin-left:30%" action="/search" method="get">
                    <div class="input-group">
                        <input type="text" class="form-control" style="border:2px solid #3CB371;width:300px" id="searchKey" placeholder="搜索书名或作者..." name="search">
                        <span class="input-group-btn">
                            <button class="btn btn-default" type="submit" style="outline:none;background:#3CB371;color:#fff;border:1px solid #3CB371">搜索</button>
                        </span>
                    </div>
                </form>
                <ul class="nav navbar-nav navbar-right">
                    <li>
                        <a href="/shopCar" id="myCar" style="color:#3CB371">
                            <span class="fa fa-cart-plus" style="margin-right:10px"></span> 我的购物车</a>
                    </li>
                    <li>
                        <button class="btn btn-default" id="showRight" style="margin-top:8px;outline:none;background:#3CB371;color:#fff;border:none">
                            <span class="fa fa-bars"></span>
                        </button>
                    </li>
                </ul>
            </div>
        </div>
    </nav>


    <!-- 左侧菜单栏 -->
    <nav class="cbp-spmenu cbp-spmenu-vertical cbp-spmenu-right" id="cbp-spmenu-s2">
        <h3>
            <a href="/" au="a" class="music_list">栗豪的书店</a>
        </h3>
        <a href="/classify?colmun_id=5ab44aca77e60c227cc9fa26" class="music_list" au="b">世界文学</a>
        <a href="/classify?colmun_id=5ab44ae177e60c227cc9fa29" class="music_list" au="c">中国文学</a>
        <a href="/classify?colmun_id=5ab44aee77e60c227cc9fa2b" class="music_list" au="d">小说天地</a>
        <a href="/classify?colmun_id=5ab44af977e60c227cc9fa2d" class="music_list" au="e">散文花园</a>
        <a href="/classify?colmun_id=5ab44b0377e60c227cc9fa2f" class="music_list" au="f">诗歌精选</a>
    </nav>

    <!--侧边栏-->
    <div class="toolbar">
        <a href="/shopCar" class="toolbar-item toolbar-item-weixin" style=" position:relative">
            <em style=" position:absolute; display:block; line-height:20px; font-size:12px; color:#f55245; top:-20px; left:0"></em>
            <!--<span class="toolbar-layer"></span>-->
        </a>
        <a href="javascript:;" class="toolbar-item toolbar-item-feedback"></a>
        <a href="javascript:;" class="toolbar-item toolbar-item-app">
            <span class="toolbar-layer"></span>
        </a>
        <a href="javascript:scroll(0,0)" id="top" class="toolbar-item toolbar-item-top"></a>
    </div>
    <!--购物车fly插件-->
    <script src="/javascripts/classie.js"></script>
    <script src="/javascripts/jquery-3.2.1.min.js"></script>
    <script src="/javascripts/jquery.fly.min.js"></script>
    <script src="/javascripts/prettify.min.js"></script>
    <script src="/javascripts/header.js"></script>
</body>

</html>